Reepay\Checkout\Integrations\WCGiftCardsIntegration S

Total Complexity 16
Dependencies 1
Dependents 4
Total lines 142
Lines of code 59
Logical lines of code 29
Comment lines 64
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
get_order_lines_for_reepay()
S
56 3 17
check_is_redeeming_enabled_reepaysubscription()
S
66 3 9
check_disable_ui_reepaysubscription()
S
66 3 9
get_amount_gift_cards_from_order()
S
68 2 7
check_order_have_wc_giftcard()
S
69 2 7
__construct()
S
74 1 4
get_negative_amount_from_order_item()
S
79 1 3
get_name_from_order_item()
S
78 1 3